// utils/sign.util.js
import CryptoJS from 'crypto-js'

const SECRET_KEY = 'jPwhOLr5Xa4zjOZS1DzaumIm9IiSC7pQ5bIZERwgLco='

export function generateSignature(appId, timestamp) {
    const raw = `${appId}${timestamp}`
    return CryptoJS.HmacSHA256(raw, SECRET_KEY).toString(CryptoJS.enc.Base64)
}
